package 继承之构造方法;

public class fu {
    public fu() {
        System.out.println("父类无参数构造方法");
    }

    //重载构造方法
    public fu(int n) {
        System.out.println("父类有参数构造方法");
    }
}
